import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {AftApplyOrderLineComponent} from './aft-apply-order-line.component';

const routes: Routes = [
    {
        path: '', component: AftApplyOrderLineComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-aft-apply-order-line/add-aft-apply-order-line.module#AddAftApplyOrderLineModule'},
            {path: 'list', loadChildren: './list-aft-apply-order-line/list-aft-apply-order-line.module#ListAftApplyOrderLineModule'},
            {
                path: 'modify',
                loadChildren: './modify-aft-apply-order-line/modify-aft-apply-order-line.module#ModifyAftApplyOrderLineModule'
            },
            {
                path: 'report',
                loadChildren: './report-aft-apply-order-line/report-aft-apply-order-line.module#ReportAftApplyOrderLineModule'
            },
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class AftApplyOrderLineRoutingModule {
}
